﻿using FB.Mvc.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;

namespace FCDB.Web.Controllers
{
      [FB.Membership.Annotations.AuthorizeOnly]
    public class DefaultController : BaseController
    {
          public ActionResult Index()
          {
              ViewBag.UserName = this.UserName;
              ViewBag.OnlineNumber = Membership.GetNumberOfUsersOnline();
              return View();
          }
    }
}
